Get Comments
AutomatR.Jira.Activities.GetComments
The "Get Comments" activity in AutomatR's Jira package utilizes the Jira API to retrieve all comments associated with a specific issue. This activity is useful for fetching and processing comment data within Jira for enhanced automation workflows.
Properties
Name | Description |
---|---|
Input | |
Ticket ID | Enter the Ticket ID of the Jira issue for which all comments need to be fetched. String variables containing the Ticket ID. |
Ticket Key | Enter the Ticket Key of the Jira issue for which all comments need to be fetched. String variables containing the Ticket Key. |
Misc | |
Display Name | The display name of the activity. This field supports only strings or String variables. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Get Comments" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs an object containing details about all comments associated with the specified Jira issue. Variables of relevant types (e.g., dynamic variables) to store comment details. |
How to use:
- Drag and drop the "Get Comments" activity onto the workflow.
- Configure the properties by specifying the Ticket ID or Ticket Key.
- Optionally, configure the delay.
- Execute the workflow to retrieve details about all comments within the specified Jira issue.
Example: Consider an example where the "Get Comments" activity is used to retrieve all comments associated with a Jira issue:
Get Comments:
Ticket ID: "JIRA-123"
Result: allComments
In this example, the activity fetches details about all comments associated with the Jira issue "JIRA-123". The result, which includes details about all comments, is stored in the dynamic variable "allComments" for further handling in the workflow.